window.onload = () => {
    let username = localStorage.getItem('username')
    let password = localStorage.getItem('password')
    if (username !== 'admin' || password !== '123456') {
        alert('账户或密码错误，提示:账户:admin,密码:123456')
        //跳转页面
        location.href = './1.html'
    }
}